//
//  ServiceEvaluationTitleCell.m
//  BusinessMarket
//
//  Created by Michael Li on 2018/12/10.
//  Copyright © 2018年 Michael Li. All rights reserved.
//

#import "ServiceEvaluationTitleCell.h"
#import "ServiceModel.h"
@interface ServiceEvaluationTitleCell()
@property (weak, nonatomic) IBOutlet UIImageView *iv;
@property (weak, nonatomic) IBOutlet UILabel *titleL;

@end
@implementation ServiceEvaluationTitleCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.titleL.textColor = kLabel102Color;
}
- (void)setServiceMode:(ServiceModel *)serviceMode
{
    _serviceMode = serviceMode;
    [self.iv sd_setImageWithURL:[NSURL URLWithString:serviceMode.logo] placeholderImage:[UIImage imageNamed:@"headImg"]];
    
    self.titleL.text = [NSString stringWithFormat:@"%@|%@|%@",serviceMode.associationtype,serviceMode.associationtypesub1,serviceMode.industryList[0]];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
